/**
 * 查询总积分
 * api/user/exp/score/total
 * 
 * 分页查询积分
 * api/user/exp/score/page
 * method: GET
 */
import { request } from "../utils/request"

export const getPointsTotal = () => {
	return request({
		url: "/api/user/exp/score/total",
		method: "GET",
	})
}

export const getPointsPage = (params = { current: 1, size: 10 }) => {
	return request({
		url: "/api/user/exp/score/page",
		method: "GET",
		data: params
	})
}